//
//  User.h
//  iNeedish
//
//  Created by Felipe Navarro V. on 30-10-09.
//  Copyright 2009 deis. All rights reserved.
//

//#import <Foundation/Foundation.h>


@interface User : NSObject {
	NSString *_id;
	NSString *name;
	NSString *lastname;
	NSString *nickname;
	NSString *displayname;
	NSString *biography;
	NSString *pictureurl;	
	NSString *lat;
	NSString *lng;
	NSString *whyhelp;
	
	NSMutableArray *Needs;
}


@property (nonatomic, retain) NSString *_id;
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *lastname;
@property (nonatomic, retain) NSString *nickname;
@property (nonatomic, retain) NSString *displayname;
@property (nonatomic, retain) NSString *biography;
@property (nonatomic, retain) NSString *pictureurl;	
@property (nonatomic, retain) NSString *lat;
@property (nonatomic, retain) NSString *lng;
@property (nonatomic, retain) NSString *whyhelp;

@property (nonatomic, retain) NSMutableArray *Needs;


-(NSMutableArray *) userAsArray;
-(User *)decodeUser;

@end
